package com.inboyu.order.domain;

/**
 * 订单状态
 */
public record OrderStatus(String code, String name) {

    public static final OrderStatus EDITING = new OrderStatus("1", "编制中");
    public static final OrderStatus WAIT = new OrderStatus("2", "待执行");
    public static final OrderStatus RUNNING = new OrderStatus("3", "执行中");
    public static final OrderStatus CLOSED = new OrderStatus("4", "已关闭");
    public static final OrderStatus CANCELED = new OrderStatus("5", "已作废");
}
